FUNCTION
delete_main_auth_descriptor
function delete_main_auth_descriptor(account: account)Deletes the main auth descriptor for the account. It does not add a new one, so it leaves the account prone to being inaccessible.
Using this function directly on a user account might end up leaving it misconfigured. It's
strongly advised to use update_main_auth_descriptor if the main auth descriptor should be
changed.
Can only be called from an operation.
Throws "MISSING AUTH DESCRIPTOR" if the account has no main_auth_descriptor
associated.
Parameters
- account — the account whose main auth descriptor should be removed
© 2024 Chromia